package com.ecar.core.common.dao;

import java.util.Set;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.common.entity.Privilege;

public interface PrivilegeMapper extends MybatisMapper  {
    int deleteByPrimaryKey(Integer id);

    int insert(Privilege record);

    int insertSelective(Privilege record);

    Privilege selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Privilege record);

    int updateByPrimaryKey(Privilege record);
    
    Set<String> selectByUsername(String username);
}